package cn.hzc.fortess.system.service;

import cn.hzc.fortess.system.entity.Lessee;
import cn.hzc.fortess.system.page.Pagination;
import cn.hzc.fortess.system.search.LesseeSearch;

import java.util.List;

public interface LesseeService {

    void add(Lessee entity);

    void update(Lessee entity);

    void delete(Integer id);

    Lessee getById(Integer id);

    List<Integer> getRefProjectByLesseeId(Integer id);

    List<Lessee> getByProjectId(Integer projectId);

    Pagination getPage(LesseeSearch search);

}
